package com.dd.cloud.open.res.api;

/**
 * @author zk
 */
public class DiagnoseRes {
    /**
     * 错误编号,0为正常,其他数为错误
     */
    private Integer errorCode;
    /**
     * 如果有错误会带错误描述
     */
    private String errorMsg;
    /**
     * 是否需要确认,这个值与errorCode配合使用;
     * 当:errorCode小于0时,此时result与errorMsg是错误信息;
     * 当值等于-2时需要再次选择病症,无论有无选择病症都会出报告,此时flag值需要传65536;
     * errorCode大于0时,代表需要二次用户确认,result是确认提示信息,
     * 如果用户选择“是”则需要把errorCode值做为flag参数再次调用此接口.
     */
    private Integer flag;
    /**
     * 诊断报告,完整的输出
     */
    private String result;
    /**
     * 病例档案
     */
    private String caseFileDoc;
    /**
     * 处方笺
     */
    private String prescription;
    /**
     * 咨询处方
     */
    private String advisoryPrescription;

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getCaseFileDoc() {
        return caseFileDoc;
    }

    public void setCaseFileDoc(String caseFileDoc) {
        this.caseFileDoc = caseFileDoc;
    }

    public String getPrescription() {
        return prescription;
    }

    public void setPrescription(String prescription) {
        this.prescription = prescription;
    }

    public String getAdvisoryPrescription() {
        return advisoryPrescription;
    }

    public void setAdvisoryPrescription(String advisoryPrescription) {
        this.advisoryPrescription = advisoryPrescription;
    }
}
